// config.ts 环境配置

export const BASE_URL = 'http://localhost:8081';

export const DEFAULT_HEADER = {
    'Content-Type': 'application/json',
};

export function getToken(): string {
    // 假设从本地获取缓存 token
    return wx.getStorageSync('token') || '';
}
